
 const notice=(state={isAllRead:false,count:8},action)=>{
    switch(action.type){
        case "read_all":
            return {...state,isAllRead:true}
        default:
                return state;
    }
   
}
export  default notice